.demo {
  width: 100px;
  height: 100px;
  border: 1px solid red;
  position: absolute;
  top: 0;
  left: 0;
}
body {
  margin: 0;
  border: 1px solid green;
  height: 100vh;
  box-sizing: border-box;
}
